package model;
import db.DB;

import java.io.Serializable;
import java.sql.Date;
//采购订单商品
public class purchase_list_goods implements Serializable {
    private int Purchase_List_id;
    private int Goods_id;
    private int Purchase_quantity;

    public int getPurchase_List_id() {return Purchase_List_id;}
    public int getGoods_id() {return Goods_id;}
    public int getPurchase_quantity() {return Purchase_quantity;}

    public String showgoodname(){
        return new DB().findgoodname(Goods_id);
    }

    public void setPurchase_List_id(int purchase_List_id) {Purchase_List_id = purchase_List_id;}
    public void setGoods_id(int goods_id) {Goods_id = goods_id;}
    public void setPurchase_quantity(int purchase_quantity) {Purchase_quantity = purchase_quantity;}
}
